package com.mycjj.android.bean;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PointsOrderGetsBaseBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int code;//
	private String request;
	private PointsOrderGetBean data;//
	private String msg;//
	
	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getRequest() {
		return request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public PointsOrderGetBean getData() {
		return data;
	}

	public void setData(PointsOrderGetBean data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class PointsOrderGetBean implements Serializable {
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		private boolean  has_next_page;
		private List<MyGiftBean> list;
		
		public boolean isHas_next_page() {
			return has_next_page;
		}

		public void setHas_next_page(boolean has_next_page) {
			this.has_next_page = has_next_page;
		}

		public List<MyGiftBean> getList() {
			return list;
		}

		public void setList(List<MyGiftBean> list) {
			this.list = list;
		}

		@JsonIgnoreProperties(ignoreUnknown = true)
		public static class MyGiftBean implements Serializable {
			private static final long serialVersionUID = 1L;
			private String id;// 订单ID
			private String sn;// 订单SN，没啥用
			private String add_time;// 订单生成时间
			private String type;// 类型， 1-兑换， 2-抽奖
			private String points;// 兑换积分
			private String price;// 价值多少钱
			private String goods_name;// 奖品名称
			private String goods_image;// 奖品图片
			public String getId() {
				return id;
			}
			public void setId(String id) {
				this.id = id;
			}
			public String getSn() {
				return sn;
			}
			public void setSn(String sn) {
				this.sn = sn;
			}
			public String getAdd_time() {
				return add_time;
			}
			public void setAdd_time(String add_time) {
				this.add_time = add_time;
			}
			public String getType() {
				return type;
			}
			public void setType(String type) {
				this.type = type;
			}
			public String getPoints() {
				return points;
			}
			public void setPoints(String points) {
				this.points = points;
			}
			public String getPrice() {
				return price;
			}
			public void setPrice(String price) {
				this.price = price;
			}
			public String getGoods_name() {
				return goods_name;
			}
			public void setGoods_name(String goods_name) {
				this.goods_name = goods_name;
			}
			public String getGoods_image() {
				return goods_image;
			}
			public void setGoods_image(String goods_image) {
				this.goods_image = goods_image;
			}
			
			
		}
	}
}
